package com.lwq.project.dao.custom;

import java.util.List;
import java.util.Map;

import com.lwq.project.dao.UserMapper;
import com.lwq.project.model.User;

public interface CustomUserMapper extends UserMapper {
	/**
	 * 通过用户名查找密码
	 * @param uName
	 * @return
	 */
	String getIdByNameAndPwd(Map<String,Object> map);

	/**
	 * 通过条件查找用户信息
	 * @param map
	 * @return
	 */
	List<User> getUserByAll(Map<String,Object> map);
	
	/**
	 * 统计条数
	 * @param map
	 * @return
	 */
	int getCount(Map<String,Object> map);
	
	int delUserByIds(String[] uId);
}
